//时间换算   不满分钟，秒数取整  入参单位==> 秒
export const conversion = (time) => {
	let m = 0;
	let s = 0;
	if (time < 60) {
		s = parseInt(time);
	} else {
		m = parseInt(time / 60);
		s = parseInt(time % 60);
		if (m > 60) {
			h = parseInt(m / 60);
			m = m % 60;
		}
	}
	if (m < 10) {
		m = '0' + m;
	}
	if (s < 10) {
		s = '0' + s;
	}
	return m + ':' + s;
}
 